package com.xci.edu.core.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "练习题")
public class ExerciseQuestion extends EduQuestion {

    /**
     * 是否作答
     */
    @Excel(name = "是否作答", width = 20d)
    @ApiModelProperty(value = "是否作答", required = true, position = 17)
    private Boolean userSelected;

    /**
     * 用户答案结果
     */
    @Excel(name = "用户答案结果", width = 20d)
    @ApiModelProperty(value = "用户答案结果", required = true, position = 18)
    private Boolean userResult;

    /**
     * 用户答案
     */
    @Excel(name = "用户答案", width = 20d)
    @ApiModelProperty(value = "用户答案", required = true, position = 19)
    private String userAnswer;

}
